# 排序与打乱
import random
a = [1, 3, 9, 5]
a.sort()
print(a)
random.shuffle(a)
print(a)
a.sort(reverse=True)
print(a)
print(sorted(a, reverse=False))


# 打印循环数据
a = [
    ["高三", "tonywu", 30, '安义'],
    ["初中", "小tony", 14, '万埠'],
    ["小学", "小小tony", 8, '万埠'],
]
for i in range(3):
    for j in range(4):
        print(a[i][j], end="\t")
    print()
